package com.chima.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.chima.domain.PageRequestBean;
import com.chima.domain.PageResponseBean;
import com.chima.domain.Professional;
@Transactional
public interface ProfessionalService {
	public PageResponseBean findProfessional(PageRequestBean pageRequestBean);
	public void saveProfessional(Professional professional); 
	public void updateProfessional(Professional professional); 
	public void deleteProfessional(int id);
	public Professional findByDepartAndName(int depart, int id);
	public  List<Professional> findByDepart(int depart);
	public List<Professional>  ListAllProfessional();
	
	public Professional findById( int id);
	public Professional findByName( String name);
}
